package org.example.domain.strategy.service.draw;

import org.example.domain.strategy.model.aggregates.StrategyRich;
import org.example.domain.strategy.repository.IStrategyRepository;
import org.example.infrastructure.po.Award;

import javax.annotation.Resource;

public class DrawStrategySupport extends DrawConfig{
    @Resource
    protected IStrategyRepository strategyRepository;

    protected StrategyRich queryStrategyRich(Long strategyId){
        return strategyRepository.queryStrategyRich(strategyId);
    }

    protected Award queryAwardInfoByAwardId(String awardId){
        return strategyRepository.queryAwardInfo(awardId);
    }
}
